# Beispiel fr das Eingabeformat:
#   - Eine Zeile pro Anweisung
#   - Whitespace zwischen Schlsselwort und Wert (so vorhanden)
# 

default	Default packet with TTL = 1 and DF flag set
  ip_ttl	1
  ip_flags	2
end

packet TEST_PROBE
  real_length	256
  ip_v		4
  ip_hl		7
#  ip_sum	13
  ip_tos	0
  ip_len	256
  ip_id		17
  ip_off	0
  ip_p		17
  ip_src	10.0.0.3
  ip_dst	10.0.0.4
  udp_sport	3425
  udp_dport	4536
  udp_ulen	236
  data		01 02 03 04 05 06 07 08
  data		21 22 23 24 25 26 27 28
  data        0x45, 0x00, 0x01, 0x00, 
  data        0x00, 0x11, 0x00, 0x02, 
  data        0x01, 0x11, 0x00, 0x00, 
  data        0x0a, 0x00, 0x00, 0x03, 
  data        0x0a, 0x00, 0x00, 0x04, 
end

packet NET_SNIFF
  ip_v		4
  ip_hl		5
  ip_tos	0
  ip_len	0x00e4
  ip_id		0x62a1
  ip_flags	0
  ip_off	0
  ip_ttl	0x40
  ip_p		0x11
#  ip_sum	0x7132
  ip_src	172.20.78.13
  ip_dst	172.20.255.255
  udp_sport	0x008a
  udp_dport	0x008a
  udp_ulen	0xd0
  udp_sum	0x773b
  data		0x45 0x00 0x00 0xe4
  data		0x62 0xa1 0x00 0x00
  data		0x40 0x11 0x71 0x32
  data		0xac 0x14 0x4e 0x0d
  data		0xac 0x14 0xff 0xff
  data		0x00 0x8a 0x00 0x8a
  data		0x00 0xd0 0x77 0x3b
  data		0x11 0x1a 0x91 0x6e
  data		0xac 0x14 0x4e 0x0d
  data		0x00 0x8a 0x00 0xba
  data		0x00 0x00 0x20 0x45
  data		0x50 0x43 0x4e 0x45
end

packet RIP_LINDHOLM
  ip_v		4
  ip_hl		5
  ip_tos	0
#  ip_len	0x5c
  ip_id		0x4927
  ip_flags	0
  ip_off	0
  ip_ttl	1
  ip_p		0x11
# ip_sum	0x5c6a
  ip_src	10.0.0.1
  ip_dst	10.0.255.255
  udp_sport	520
  udp_dport	520
# udp_sum	0x2cdc
  
  data 02 02 00 00 00 02 00 00 00 00 00 00 00 00 00 00
  data 00 00 00 00 00 00 00 02 00 02 00 00 ac 10 00 00
  data ff f0 00 00 00 00 00 00 00 00 00 02 00 02 00 00
  data 3e 60 cf 00 ff ff ff 00 00 00 00 00 00 00 00 02

# 45 00 00 5c
# 49 27 00 00
# 01 11 5c 6a
# 0a 00 00 01
# 0a 00 ff ff

# 02 08 02 08
# 00 48 2c dc

# 02 02 00 00
# 00 02 00 00
# 00 00 00 00
# 00 00 00 00
# 00 00 00 00
# 00 00 00 02
# 00 02 00 00
# ac 10 00 00
# ff f0 00 00
# 00 00 00 00
# 00 00 00 02
# 00 02 00 00
# 3e 60 cf 00
# ff ff ff 00
# 00 00 00 00
# 00 00 00 02

end

packet PING_REPLY
  ip_v		4
  ip_hl		5
  ip_tos	0
# ip_len	0x54
  ip_id		0x496d
  ip_flags	0
  ip_off	0
  ip_ttl	0xfe
  ip_p		1
# ip_sum	0x5f39
  ip_src	10.0.0.1
  ip_dst	10.0.0.2
  icmp_type	0
  icmp_code	0
# icmp_sum	0xf6f5
  icmp_id	0xa106
  icmp_seq	0x0100
  

  data 03 be 37 39
  data 38 09 09 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13
  data 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23
  data 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33
  data 34 35 36 37

# 45 00 00 54
# 49 6d 00 00
# fe 01 5f 39
# 0a 00 00 01
# 0a 00 00 02

# 00 00 f6 f5
# a1 06 01 00

# 03 be 37 39
# 38 09 09 00
# 08 09 0a 0b
# 0c 0d 0e 0f
# 10 11 12 13
# 14 15 16 17
# 18 19 1a 1b
# 1c 1d 1e 1f
# 20 21 22 23
# 24 25 26 27
# 28 29 2a 2b
# 2c 2d 2e 2f
# 30 31 32 33
# 34 35 36 37
end

packet UDP_NODATA
  ip_v		4
  ip_hl		5
  ip_tos	0
# ip_len	28
  ip_id		0x11c6
  ip_flags	0
  ip_off	0
  ip_ttl	64
  ip_p		17
# ip_sum	0x5509
  ip_src	10.0.0.2
  ip_dst	10.0.0.1
  udp_sport	0x04b1
# destination port is "discard"
  udp_dport	9
# udp_len	8
# udp_sum	0xe721
end

# EOF
